package com.fw.service.persistence.dao;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

import com.fw.service.persistence.dto.Sample;

public interface SampleDAO extends JpaRepository<Sample, Long> {

	@Query("select s from Sample s where s.text like ?1")
	public List<Sample> findByText(String text);

}
